<?php

class Application_Form_BlockForm extends Zend_Form
{
    
  public function init()
  {
  $this->setName('carte');

  
  $id = new Zend_Form_Element_Hidden('id');
  $id->addFilter('Int')
    ->setDecorators(array('ViewHelper'));

  $formname = new Zend_Form_Element_Hidden('formname');
  $formname->setValue('block');
	
  $block = new Zend_Form_Element_Submit('block');
  $block->setLabel('block')
		->setDecorators(array('ViewHelper','FormErrors','Label','Errors'));
   
    $this->addElements(array($id,$block,$formname));
  
  }
  
 }